<%-- 
    Document   : listLocales
    Created on : 12-abr-2012, 1:56:52
    Author     : Rob
--%>

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
 
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>



<div class="container">
    <h1 style="float:left;">Reservas de Canchitas de Futbol</h1>
    <div class="clear"></div>
    <br/>
    <table class="table table-striped">
        <tr>
            <th>NombreLocal</th>
            <th>Calle</th>
            <th>Nro</th>
            <th>Telefono</th>
            <th style="width: 150px;"></th>            
        </tr>
        <c:forEach var="local" items="${locales}">
            <tr>
                <td>${local.descripcionLocal}</td>
                <td>${local.calle}</td>
                <td>${local.nro}</td>
                <td>${local.telefono}</td>
                <td><a href="<c:url value='/pages/reservas/detailLocales?id=${local.codigoLocal}'/>">Detail local</a></td>                
            </tr>
        </c:forEach>
    </table>
</div>
